﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="eventList.ascx.cs" Inherits="Com.Web.coffinegurunaru.manager.Event.eventList" %>
<%@ Import Namespace="Com.Library.DB.Event" %>
<table cellpadding="0" cellspacing="1" style="background-color:Gray;">
<tr style="text-align:center; height:30px;">
	<td style="background-color:#eeeeee; width:100px;">리스트이미지</td>
	<td style="background-color:#eeeeee; width:200px;">제목</td>
	<td style="background-color:#eeeeee; width:80px;">시작일</td>
	<td style="background-color:#eeeeee; width:80px;">종료일</td>
	<td style="background-color:#eeeeee; width:80px;">발표일</td>
	<td style="background-color:#eeeeee; width:80px;">등록일</td>
	<td style="background-color:#eeeeee; width:50px;">-</td>
</tr>
<% foreach( EventEntity item in EventList ) { %>
<tr style="text-align:center; height:30px;" data="{'EventSN':'<%=item.EventSN %>'}">
	<td style="background-color:#ffffff;"><img src="<%=item.ImageUrl %>" style="width:100px; height:100px;"></td>
	<td style="background-color:#ffffff; text-align:left; padding-left:5px; padding-top:5px;" valign="top"><%=item.Title %></td>
	<td style="background-color:#ffffff;"><%=item.EventStart %></td>
	<td style="background-color:#ffffff;"><%=item.EventEnd %></td>
	<td style="background-color:#ffffff;"><%=item.PublicationDate %></td>
	<td style="background-color:#ffffff;"><%=item.CreateDate.ToString("yyyy-MM-dd") %></td>
	<td style="background-color:#ffffff;"><input type="button" class="m_btnViewer" value="보기" /></td>
</tr>
<% } %>
</table>